gsk: Rename uniforms and attributes in shaders
authorEmmanuele Bassi <ebassi@gnome.org>
Thu, 21 Jul 2016 16:17:49 +0000 (17:17 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Tue, 18 Oct 2016 10:49:09 +0000 (11:49 +0100)
commit03ab560fae288ffa33265d1b421c6547c56671a4
tree69f924d17adbcbf09962314f4de582c806daf950
parent24a6f3c055e749bc077093c7fd90ce357695dd52
gsk: Rename uniforms and attributes in shaders

Use appropriate names, and annotate the names with the types — 'u' for
uniforms, 'a' for attributes. The common preambles for shaders are split
from the bodies, so we need some way to distinguish the uniforms and the
attributes just from their name.
gsk/gskglrenderer.c
gsk/resources/glsl/blend.fs.glsl
gsk/resources/glsl/blend.vs.glsl
gsk/resources/glsl/blit.fs.glsl
gsk/resources/glsl/blit.vs.glsl
gsk/resources/glsl/es2_common.fs.glsl
gsk/resources/glsl/es2_common.vs.glsl
gsk/resources/glsl/gl3_common.fs.glsl
gsk/resources/glsl/gl3_common.vs.glsl
gsk/resources/glsl/gl_common.fs.glsl
gsk/resources/glsl/gl_common.vs.glsl